package com.gomtel.smartdevice.net.okhttp;

import java.util.HashMap;

@SuppressWarnings("ALL")
public class OkHttpParam<T> {
    Class<T> clazz;
    HashMap<String, Object> params;
    String url;
    boolean isJson;

    public OkHttpParam(Class<T> clazz, HashMap<String, Object> params, String url, boolean isJson) {
        this.clazz = clazz;
        this.params = params;
        this.url = url;
        this.isJson = isJson;
    }

    OkHttpParam(OkHttpParam<T> okHttpUtilsInnerClass) {
        this.clazz = okHttpUtilsInnerClass.clazz;
        this.params = okHttpUtilsInnerClass.params;
        this.url = okHttpUtilsInnerClass.url;
        this.isJson = okHttpUtilsInnerClass.isJson;
    }
}
